/**
 * <pre>
 * Title: 		DaoFactoryImpl.java
 * Author:		linriqing
 * Create:	 	2010-6-29 下午05:39:12
 * Copyright: 	Copyright (c) 2010
 * Company:		Shenzhen Helper
 * <pre>
 */
package com.hengpeng.itfints.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.hengpeng.itfints.dao.DaoFactory;
import com.hengpeng.itfints.dao.RedPacketDao;
import com.hengpeng.itfints.dao.RewardDao;

/**
 * <pre>
 * DAO接口工厂实现
 * </pre>
 * 
 * @author linriqing
 * @version 1.0, 2010-6-29
 */
@Repository
public class DaoFactoryImpl implements DaoFactory {
    //
    // @Autowired
    // private CommonDao commonDao;

    @Autowired
    private RedPacketDao redPacketDao;

    @Autowired
    private RewardDao rewardDao;

    @Override
    public RewardDao getRewardDao() {
        return rewardDao;
    }

    @Override
    public RedPacketDao getRedPacketDao() {
        return redPacketDao;
    }
    // @Override
    // public CommonDao getCommonDao() {
    // return commonDao;
    // }
    // public void setCommonDao(CommonDao masterCommonDao) {
    // this.commonDao = masterCommonDao;
    // }

}
